﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace sys_Print.DataAsset
{
    [JsonObject(MemberSerialization.OptIn)]
    public partial class DataDictionary
    {

        [JsonProperty, Column(Name = "id", IsPrimary = true)]
        public int Id { get; set; }

        [JsonProperty, Column(Name = "attribute_name", DbType = "varchar(255)")]
        public string AttributeName { get; set; } = string.Empty;

        [JsonProperty, Column(Name = "data_source", DbType = "varchar(255)")]
        public string DataSource { get; set; } = string.Empty;

        [JsonProperty, Column(Name = "option_name", DbType = "varchar(255)")]
        public string OptionName { get; set; } = string.Empty;

        [JsonProperty, Column(Name = "priority")]
        public int Priority { get; set; }

    }
}
